<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>gui2py: Fichero Fuente build/lib.linux-x86_64-2.7/gui/font.py</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../edit.gif"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gui2py
   &#160;<span id="projectnumber">0.9.3</span>
   </div>
   <div id="projectbrief">Interfaz de desarrollo de aplicaciones graficas</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generado por Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li><a href="../../namespaces.html"><span>Paquetes</span></a></li>
      <li><a href="../../annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="../../files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Propiedades</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">font.py</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py.html">Ir a la documentación de este archivo.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"><a class="line" href="../../db/d8c/namespacegui_1_1font.html">    1</a></span>&#160;<span class="comment">#!/usr/bin/python</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"># -*- coding: utf-8 -*-</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="stringliteral">&quot;gui2py&#39;s Font facilities (encapsulate wx.Font)&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="../../db/d8c/namespacegui_1_1font.html#aca85ce2da707e65dacb13c6218581edc">    6</a></span>&#160;__author__ = <span class="stringliteral">&quot;Mariano Reingart (reingart@gmail.com)&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="../../db/d8c/namespacegui_1_1font.html#a15b6e18307af4d793758e76d7dc7f894">    7</a></span>&#160;__copyright__ = <span class="stringliteral">&quot;Copyright (C) 2013- Mariano Reingart&quot;</span> <span class="comment"># where applicable</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"># Initial implementation was based on PythonCard&#39;s font module, altought</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"># most of it was redesigned and overhauled a lot</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">import</span> wx</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"># KEA 2004-04-15</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"># have to subclass Python object base class so that property() works below</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html">   17</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html">Font</a>(object):</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a488eb0708c9a3eef62f41d7db1450011">   19</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a488eb0708c9a3eef62f41d7db1450011">__init__</a>(self, parent=None, **kwargs ) :</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a689e4ff05ef0723e327202a07f57507d">   20</a></span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a689e4ff05ef0723e327202a07f57507d">_parent</a> = parent</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">   21</a></span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> = wx.DEFAULT</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a91fc38e4b7057b7c657fac84b44d9bc4">   22</a></span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a91fc38e4b7057b7c657fac84b44d9bc4">_face</a> = <span class="stringliteral">&#39;&#39;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aeef82036e5ecbce11f02eb524b9643e4">   23</a></span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aeef82036e5ecbce11f02eb524b9643e4">_size</a> = wx.NORMAL_FONT.GetPointSize()</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">   24</a></span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">_style</a> = wx.NORMAL</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">   25</a></span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">_weight</a> = wx.NORMAL</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a0e81c532ea373bf31a4deb5216af759f">   26</a></span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a0e81c532ea373bf31a4deb5216af759f">underline</a> = <span class="keyword">False</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        <span class="keywordflow">for</span> name, value <span class="keywordflow">in</span> kwargs.items():</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;            setattr(self, name, value) </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a1c165b2e4efa6d21d77c0c21aa207421">   30</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a1c165b2e4efa6d21d77c0c21aa207421">get_wx_font</a>(self):</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        <span class="keywordflow">return</span> wx.Font(self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aeef82036e5ecbce11f02eb524b9643e4">_size</a>,</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;                      self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a>,</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;                      self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">_style</a>,</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;                      self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">_weight</a>,</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;                      self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a0e81c532ea373bf31a4deb5216af759f">underline</a>,</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;                      self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a91fc38e4b7057b7c657fac84b44d9bc4">_face</a>)</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a2cfdcba9c2ef95f573206f2f4ab71b6b">   38</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a2cfdcba9c2ef95f573206f2f4ab71b6b">set_wx_font</a>(self, font):</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aeef82036e5ecbce11f02eb524b9643e4">_size</a> = font.PointSize</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> = font.Family</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">_style</a> = font.Style</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">_weight</a> = font.Weight</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a0e81c532ea373bf31a4deb5216af759f">underline</a> = font.GetUnderlined()</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a91fc38e4b7057b7c657fac84b44d9bc4">_face</a> = font.FaceName</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a4df74985ba0e45a86d10fcaee4304c18">   46</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a4df74985ba0e45a86d10fcaee4304c18">_get_size</a>(self):</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="keywordflow">return</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aeef82036e5ecbce11f02eb524b9643e4">_size</a></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcb01b31b0137269c536be0099fe72f">   49</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcb01b31b0137269c536be0099fe72f">_set_size</a>(self, size):</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <span class="comment">#self._font = self._newFont()</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="comment">#self._font.SetPointSize(size)</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aeef82036e5ecbce11f02eb524b9643e4">_size</a> = size</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a95aa036abe28d9a6fe7684b559180057">   54</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a95aa036abe28d9a6fe7684b559180057">_get_style</a>(self):</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="keywordflow">if</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">_style</a> == wx.ITALIC:</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&#39;italic&#39;</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="keywordflow">elif</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">_style</a> == wx.SLANT:</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&#39;slant&#39;</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&#39;regular&#39;</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#ab29af7d8f5a6635320575f9f17b1bdad">   62</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#ab29af7d8f5a6635320575f9f17b1bdad">_set_style</a>(self, name):</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="keywordflow">if</span> name.endswith(<span class="stringliteral">&#39;italic&#39;</span>):</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">_style</a> = wx.ITALIC</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="keywordflow">elif</span> name.endswith(<span class="stringliteral">&#39;slant&#39;</span>):</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">_style</a> = wx.SLANT</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">_style</a> = wx.NORMAL</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abbd85cdae3082dc0412b45e7b9066962">   70</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abbd85cdae3082dc0412b45e7b9066962">_get_face</a>(self):</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <span class="keywordflow">return</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a91fc38e4b7057b7c657fac84b44d9bc4">_face</a></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a38325ccd31277962ad22d7245b1d26b3">   73</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a38325ccd31277962ad22d7245b1d26b3">_set_face</a>(self, face):</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a91fc38e4b7057b7c657fac84b44d9bc4">_face</a> = face</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#af66274febe100045d66ce5f0a89848af">   76</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#af66274febe100045d66ce5f0a89848af">_get_family</a>(self):</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="keywordflow">if</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> == wx.ROMAN:</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&#39;serif&#39;</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keywordflow">elif</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> == wx.SWISS:</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&#39;sans serif&#39;</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <span class="keywordflow">elif</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> == wx.MODERN:</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&#39;monospace&#39;</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&quot;&quot;</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aee1b4c8e4334548570ebe69da3c9d7c9">   86</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aee1b4c8e4334548570ebe69da3c9d7c9">_set_family</a>(self, name):</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <span class="keywordflow">if</span> name == <span class="stringliteral">&#39;serif&#39;</span>:</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> = wx.ROMAN</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <span class="keywordflow">elif</span> name == <span class="stringliteral">&#39;sans serif&#39;</span>:</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> = wx.SWISS</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        <span class="keywordflow">elif</span> name == <span class="stringliteral">&#39;monospace&#39;</span>:</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> = wx.MODERN</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> = wx.DEFAULT</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a9b20c31e908ece07f79fd963a7d20b5e">   96</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a9b20c31e908ece07f79fd963a7d20b5e">_set_weight</a>(self, name):</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        <span class="keywordflow">if</span> name.startswith(<span class="stringliteral">&#39;bold&#39;</span>):</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">_weight</a> = wx.BOLD</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="keywordflow">elif</span> name.startswith(<span class="stringliteral">&#39;light&#39;</span>):</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">_weight</a> = wx.LIGHT</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">_weight</a> = wx.NORMAL</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#af4df0a2a911c7c0ff6b0eebe2ae0d956">  104</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#af4df0a2a911c7c0ff6b0eebe2ae0d956">_get_weight</a>(self):</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="keywordflow">if</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">_weight</a> == wx.BOLD:</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&#39;bold&#39;</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        <span class="keywordflow">elif</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">_weight</a> == wx.LIGHT:</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&#39;light&#39;</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        <span class="keywordflow">else</span>:</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;            <span class="keywordflow">return</span> <span class="stringliteral">&#39;normal&#39;</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#ad50f020f8bc8faf585c59749b7799234">  112</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#ad50f020f8bc8faf585c59749b7799234">description</a>(self):</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        desc = {}</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        <span class="keywordflow">if</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">_family</a> != wx.DEFAULT:</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;            desc[<span class="stringliteral">&#39;family&#39;</span>] = self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a474c34e2bbe5785732858bfdd61e1f95">family</a></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        <span class="keywordflow">if</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a91fc38e4b7057b7c657fac84b44d9bc4">_face</a> != <span class="stringliteral">&#39;&#39;</span>:</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;            desc[<span class="stringliteral">&#39;face&#39;</span>] = self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a91fc38e4b7057b7c657fac84b44d9bc4">_face</a></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        desc[<span class="stringliteral">&#39;size&#39;</span>] = self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aeef82036e5ecbce11f02eb524b9643e4">_size</a></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <span class="keywordflow">if</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">_style</a> != wx.NORMAL:</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;            desc[<span class="stringliteral">&#39;style&#39;</span>] = self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a1bc753c5f43eefd793b781e629fb182e">style</a></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        <span class="keywordflow">if</span> self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">_weight</a> != wx.NORMAL:</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            desc[<span class="stringliteral">&#39;style&#39;</span>] = self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#afa38f93a6160940a87cfdbd0e6f1bd4c">weight</a></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <span class="keywordflow">return</span> desc</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a1f5cb60a9acfe36a32e25c03e0fd0c9d">  125</a></span>&#160;    <span class="keyword">def </span><a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a1f5cb60a9acfe36a32e25c03e0fd0c9d">__repr__</a>(self):</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keywordflow">return</span> str(self.<a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html#ad50f020f8bc8faf585c59749b7799234">description</a>())</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#ad94c256250e8751f6a91f48e6544c237">  128</a></span>&#160;    face = property(_get_face, _set_face)</div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a474c34e2bbe5785732858bfdd61e1f95">  129</a></span>&#160;    family = property(_get_family, _set_family)</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#aca3b9a8fea34ce958edc2cc13e1531d0">  130</a></span>&#160;    size = property(_get_size, _set_size)</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#a1bc753c5f43eefd793b781e629fb182e">  131</a></span>&#160;    style = property(_get_style, _set_style)</div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="../../d4/ddc/classgui_1_1font_1_1Font.html#afa38f93a6160940a87cfdbd0e6f1bd4c">  132</a></span>&#160;    weight = property(_get_weight, _set_weight)</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="keywordflow">if</span> __name__ == <span class="stringliteral">&quot;__main__&quot;</span>:</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="comment"># basic test until unit_tests</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="../../db/d8c/namespacegui_1_1font.html#a973087d6df475beaf5a5b50014274cee">  137</a></span>&#160;    app = wx.App(redirect=<span class="keyword">False</span>)</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="comment">#frame = wx.Frame(None)</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="../../db/d8c/namespacegui_1_1font.html#a935286fd28e836a48800e02bba09b854">  139</a></span>&#160;    f = <a class="code" href="../../d4/ddc/classgui_1_1font_1_1Font.html">Font</a>(family=<span class="stringliteral">&quot;serif&quot;</span>, face=<span class="stringliteral">&quot;ubuntu&quot;</span>, style=<span class="stringliteral">&quot;italic&quot;</span>, weight=<span class="stringliteral">&quot;bold&quot;</span>)</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keyword">assert</span> f.family == <span class="stringliteral">&quot;serif&quot;</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="keyword">assert</span> f.style == <span class="stringliteral">&quot;italic&quot;</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keyword">assert</span> f.weight == <span class="stringliteral">&quot;bold&quot;</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="../../db/d8c/namespacegui_1_1font.html#ad8dd830e21558f7b446f810a3ef9c333">  143</a></span>&#160;    wf = f.get_wx_font()</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    wf.Style = wx.SLANT</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    f.set_wx_font(wf)</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keyword">assert</span> f.family == <span class="stringliteral">&quot;&quot;</span>         <span class="comment"># ubuntu face!</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keyword">assert</span> f.style == <span class="stringliteral">&quot;slant&quot;</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keyword">assert</span> f.weight == <span class="stringliteral">&quot;bold&quot;</span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_afa38f93a6160940a87cfdbd0e6f1bd4c"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#afa38f93a6160940a87cfdbd0e6f1bd4c">gui.font.Font.weight</a></div><div class="ttdeci">weight</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00132">font.py:132</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_abbd85cdae3082dc0412b45e7b9066962"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#abbd85cdae3082dc0412b45e7b9066962">gui.font.Font._get_face</a></div><div class="ttdeci">def _get_face</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00070">font.py:70</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a1f5cb60a9acfe36a32e25c03e0fd0c9d"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a1f5cb60a9acfe36a32e25c03e0fd0c9d">gui.font.Font.__repr__</a></div><div class="ttdeci">def __repr__</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00125">font.py:125</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a95aa036abe28d9a6fe7684b559180057"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a95aa036abe28d9a6fe7684b559180057">gui.font.Font._get_style</a></div><div class="ttdeci">def _get_style</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00054">font.py:54</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html">gui.font.Font</a></div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00017">font.py:17</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a7dcd97a12dd8f976be8dff18e47ec5f4"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcd97a12dd8f976be8dff18e47ec5f4">gui.font.Font._weight</a></div><div class="ttdeci">_weight</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00025">font.py:25</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a1bc753c5f43eefd793b781e629fb182e"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a1bc753c5f43eefd793b781e629fb182e">gui.font.Font.style</a></div><div class="ttdeci">style</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00131">font.py:131</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_af66274febe100045d66ce5f0a89848af"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#af66274febe100045d66ce5f0a89848af">gui.font.Font._get_family</a></div><div class="ttdeci">def _get_family</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00076">font.py:76</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a474c34e2bbe5785732858bfdd61e1f95"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a474c34e2bbe5785732858bfdd61e1f95">gui.font.Font.family</a></div><div class="ttdeci">family</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00129">font.py:129</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a1c165b2e4efa6d21d77c0c21aa207421"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a1c165b2e4efa6d21d77c0c21aa207421">gui.font.Font.get_wx_font</a></div><div class="ttdeci">def get_wx_font</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00030">font.py:30</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a488eb0708c9a3eef62f41d7db1450011"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a488eb0708c9a3eef62f41d7db1450011">gui.font.Font.__init__</a></div><div class="ttdeci">def __init__</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00019">font.py:19</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_ad50f020f8bc8faf585c59749b7799234"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#ad50f020f8bc8faf585c59749b7799234">gui.font.Font.description</a></div><div class="ttdeci">def description</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00112">font.py:112</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_ab29af7d8f5a6635320575f9f17b1bdad"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#ab29af7d8f5a6635320575f9f17b1bdad">gui.font.Font._set_style</a></div><div class="ttdeci">def _set_style</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00062">font.py:62</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a9b20c31e908ece07f79fd963a7d20b5e"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a9b20c31e908ece07f79fd963a7d20b5e">gui.font.Font._set_weight</a></div><div class="ttdeci">def _set_weight</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00096">font.py:96</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a5fe77ead8a7fa10cd070160708e50af6"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a5fe77ead8a7fa10cd070160708e50af6">gui.font.Font._style</a></div><div class="ttdeci">_style</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00024">font.py:24</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a4df74985ba0e45a86d10fcaee4304c18"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a4df74985ba0e45a86d10fcaee4304c18">gui.font.Font._get_size</a></div><div class="ttdeci">def _get_size</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00046">font.py:46</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a7dcb01b31b0137269c536be0099fe72f"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a7dcb01b31b0137269c536be0099fe72f">gui.font.Font._set_size</a></div><div class="ttdeci">def _set_size</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00049">font.py:49</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a38325ccd31277962ad22d7245b1d26b3"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a38325ccd31277962ad22d7245b1d26b3">gui.font.Font._set_face</a></div><div class="ttdeci">def _set_face</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00073">font.py:73</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_aee1b4c8e4334548570ebe69da3c9d7c9"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#aee1b4c8e4334548570ebe69da3c9d7c9">gui.font.Font._set_family</a></div><div class="ttdeci">def _set_family</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00086">font.py:86</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a2cfdcba9c2ef95f573206f2f4ab71b6b"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a2cfdcba9c2ef95f573206f2f4ab71b6b">gui.font.Font.set_wx_font</a></div><div class="ttdeci">def set_wx_font</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00038">font.py:38</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_abf8dc04845404ebde90e764d1ae9b17f"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#abf8dc04845404ebde90e764d1ae9b17f">gui.font.Font._family</a></div><div class="ttdeci">_family</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00021">font.py:21</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a91fc38e4b7057b7c657fac84b44d9bc4"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a91fc38e4b7057b7c657fac84b44d9bc4">gui.font.Font._face</a></div><div class="ttdeci">_face</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00022">font.py:22</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a689e4ff05ef0723e327202a07f57507d"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a689e4ff05ef0723e327202a07f57507d">gui.font.Font._parent</a></div><div class="ttdeci">_parent</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00020">font.py:20</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_a0e81c532ea373bf31a4deb5216af759f"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#a0e81c532ea373bf31a4deb5216af759f">gui.font.Font.underline</a></div><div class="ttdeci">underline</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00026">font.py:26</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_af4df0a2a911c7c0ff6b0eebe2ae0d956"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#af4df0a2a911c7c0ff6b0eebe2ae0d956">gui.font.Font._get_weight</a></div><div class="ttdeci">def _get_weight</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00104">font.py:104</a></div></div>
<div class="ttc" id="classgui_1_1font_1_1Font_html_aeef82036e5ecbce11f02eb524b9643e4"><div class="ttname"><a href="../../d4/ddc/classgui_1_1font_1_1Font.html#aeef82036e5ecbce11f02eb524b9643e4">gui.font.Font._size</a></div><div class="ttdeci">_size</div><div class="ttdef"><b>Definition:</b> <a href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py_source.html#l00023">font.py:23</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_96a7eeec1342994a7cb0d7fe7902ae74.html">build</a></li><li class="navelem"><a class="el" href="../../dir_3740601ea11ece1a00f9273977396bc4.html">lib.linux-x86_64-2.7</a></li><li class="navelem"><a class="el" href="../../dir_5bcb0661a26d4ce62009196be9ab2e39.html">gui</a></li><li class="navelem"><a class="el" href="../../dc/d1e/build_2lib_8linux-x86__64-2_87_2gui_2font_8py.html">font.py</a></li>
    <li class="footer">Generado el Domingo, 7 de Diciembre de 2014 18:59:47 para gui2py por
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
